<?php
/**
 * Copyright (C), 2021-2021, Shall Buy Life info. Co., Ltd.
 * FileName: staff_route.php
 * Description: 后台员工路由
 *
 * @author lwl
 * @Create Date    2021/10/28 10:03
 * @Update Date    2021/10/28 10:03 By lwl
 * @version v1.0
 */

use Illuminate\Support\Facades\Route;

Route::group(['namespace' => 'Staff', 'prefix' => 'staff', 'middleware' => 'staff.auth', 'name_prefix' => 'staff@example'], function () {
    Route::group(['prefix' => 'workflow'], function () {
        Route::get('alldd', [WorkflowController::class, 'getAldfald'])->name('workffadslow.alld');
        Route::post('store', [WorkflowController::class, 'store'])->name('workflow.store');
        Route::get('show', [WorkflowController::class, 'show'])->name('workflow.show');
        Route::post('edit', [WorkflowController::class, 'edit'])->name('workflow.edit');
        Route::post('remove', [WorkflowController::class, 'remove'])->name('workflow.remove');
        Route::get('all', [WorkflowController::class, 'getAll'])->name('workflow.all');
        Route::get('alld', [WorkflowController::class, 'getAlld'])->name('workflow.alld');


    });

});
